<?php 

session_start();
if(isset($_SESSION['login'])){
	header("Location: coreChat/chat.php");
}else{
	header("Location: login/login.php");	
}

?>